package com.ctrip.cap.domain.benchmark;

import java.util.Date;

import com.ctrip.cap.domain.benchmark.util.BenchmarkUtil;

public class PerformanceSummary {
	public long getID() {
		return ID;
	}
	public void setID(long iD) {
		ID = iD;
	}
	public long getJobID() {
		return JobID;
	}
	public void setJobID(long jobID) {
		JobID = jobID;
	}
	public String getPackageName() {
		return PackageName;
	}
	public void setPackageName(String packageName) {
		PackageName = packageName;
		setNickName(BenchmarkUtil.getPackageNickName(packageName));
	}
	public String getDeviceType() {
		return DeviceType;
	}
	public void setDeviceType(String deviceType) {
		DeviceType = deviceType;
	}
	public double getTotalCPU() {
		return TotalCPU;
	}
	public void setTotalCPU(double totalCPU) {
		TotalCPU = totalCPU;
	}
	public long getTotalMemory() {
		return TotalMemory;
	}
	public void setTotalMemory(long totalMemory) {
		TotalMemory = totalMemory;
	}
	public long getTotalTraffic() {
		return TotalTraffic;
	}
	public void setTotalTraffic(long totalTraffic) {
		TotalTraffic = totalTraffic;
	}
	public double getTemperature() {
		return Temperature;
	}
	public void setTemperature(double temperature) {
		Temperature = temperature;
	}
	public Date getTime() {
		return Time;
	}
	public void setTime(Date time) {
		Time = time;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	private long ID;
	private long JobID;
	private String PackageName;
	private String DeviceType;
	private double TotalCPU;
	private long TotalMemory;
	private long TotalTraffic;
	private double Temperature;
	private Date Time;
	private String nickName;
}
